<!-- $Id: card_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<!-- start goods list -->
<form method="post" action="" name="listForm">
<input type="hidden" name="goods_id" value="{$goods_id}" />
<div class="list-div" id="listDiv">
{/if}
  <table cellpadding="3" cellspacing="1">
  <tr>
    <th><a href="javascript:listTable.sort('id');">编号</a>{$sort_title}</th>
    <th><a href="javascript:listTable.sort('username');">用户名</a>{$sort_title}</th>
    <th><a href="javascript:listTable.sort('phone');">电话</a>{$sort_link}</th>
    <th>留言内容</th>
    <th>提交时间</th>
    <th>{$lang.handler}</th>
  </tr>
  { foreach from=$vip_list item=vip}
  <tr>
    <td align="left">{$vip.id}</a</td>
    <td align="left">{$vip.username|escape:"html"}</a</td>
    <td align="left">{$vip.phone|escape:"html"}</a</td>
    <td align="left">{$vip.content|escape:"html"}</a</td>
    <td align="left">{$vip.create_time}</a</td>
    <td align="center" nowrap="true" valign="top">
        <a href="?act=edit&amp;id={$vip.id}" title="{$lang.edit}"><img src="images/icon_edit.gif" border="0" height="16" width="16"></a>
        <a href="javascript:;" onclick="listTable.remove({$vip.id}, '{$lang.drop_confirm}')" title="{$lang.remove}"><img src="images/icon_drop.gif" border="0" height="16" width="16"></a>
      </td>
  </tr>
    {foreachelse}
    <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
    {/foreach}
  </table>

  <table cellpadding="4" cellspacing="0">
    <tr>
      <td align="right">{include file="page.htm"}</td>
    </tr>
  </table>
{if $full_page}
</div>
</form>
<!-- end goods list -->
<script type="text/javascript" language="JavaScript">
listTable.recordCount = {$record_count};
listTable.pageCount = {$page_count};
{foreach from=$filter item=item key=key}
listTable.filter.{$key} = '{$item}';
{/foreach}
<!--
{literal}
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
{/literal}
//-->
</script>
{include file="pagefooter.htm"}
{/if}